from likeshop_api_project.api.handleCollectGoods_api import handleCollectGoods_model
from likeshop_api_project.base.myBase import Tools
from likeshop_api_project.api.login_api import login_model

class huoqudiqu_model(Tools):
    path = '/api/region/lists'

    # 发送查询任务接口
    def huoqudiqu_action(self,hd):

        huoqudiqu = self.huihua.get(url=self.hosturl + self.path, headers=hd)
        return huoqudiqu.json()


# from likeshop_api_project.api.login_api import login_model
# import requests
# s = requests.session()
# login = login_model(huihua=s)
# msg = login.login_action(account='17612345678', pwd='admin123', client='4')
# print(msg)
# getuserToken = msg['data']['token']
# hd = {"token": getuserToken}
# huoqudiqu = huoqudiqu_model(huihua=s)
# msg = huoqudiqu.huoqudiqu_action( hd=hd)
# print(msg)

